-- msg_idcard_record_is_open
-- Created by huanghr Oct/17/2016
-- 记录是否开放身份证记录功能

return function(lpc)
    local isOpen = lpc.is_open;
    local isPhone = lpc.is_phone;

    if isPhone == 1 then
        PhoneNumberRecordM.setPhoneNumberFuncOpen(isOpen)
    else
        PhoneNumberRecordM.setIdCardOpen(isOpen);
    end
end